<template>
  <div>
    <span>姓名：</span>
    <el-input v-model="something"></el-input>
    <el-button type="primary" @click="handleOpen">验证</el-button>
  </div>
</template>

<script setup lang="ts">
import { ref } from "vue";
import { Modal } from "leisure-lib";
const something = ref();
const handleOpen = () => {
  Modal.open("hello lorem");
};
</script>

<style scoped></style>
